package message

import "net"

type MessageReceiver interface {
	ReceiveMessage(msgFrom byte, n int, buffer []byte, bufferPool []byte, conn net.Conn) bool
}

type MessageSender interface {
	SendMessage(data []byte, msgType byte, conn net.Conn)
}
type MessageHandler struct {
	Receiver MessageReceiver
	Sender   MessageSender
}
